@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';
@import './sy.scss';
@import './text-style.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  // height: 100%;
  background: #f1f5f4;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

code {
  background: #eef1f6;
  padding: 15px 16px;
  margin-bottom: 20px;
  display: block;
  line-height: 36px;
  font-size: 15px;
  font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

.warn-content {
  background: rgba(66, 185, 131, .1);
  border-radius: 2px;
  padding: 16px;
  padding: 1rem;
  line-height: 1.6rem;
  word-spacing: .05rem;

  a {
    color: #42b983;
    font-weight: 600;
  }
}

//main-container全局样式
.app-container {
  padding: 20px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 10px;
  text-align: right;
}

.text-center {
  text-align: center
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}

.yt-data-list {
  margin-top: 20px;
  border: solid 1px lightgray;
  background-color: white;

  .yt-list-title {
    color: #6dcaa8;
    height: 43px;
    line-height: 43px;
    border-bottom: solid 1px #d3d3d3;
    font-size: 16px;
    padding-left: 20px;

    span {
      display: inline-block;
      line-height: 38px;
      border-bottom: 3px solid #6dcaa8;
    }
  }

  .yt-list-content {
    padding: 0 20px;
    margin-bottom: 10px !important;

    .list-operation {
      margin: 10px 0;
    }

    .yt-table{
      margin-bottom: 10px;
      th {
        background-color: #f1f4f3 !important;
        color: #212121;
      }
    }
  }
}

.yt-table{
  margin-bottom: 10px;
  th {
    background-color: #f1f4f3 !important;
    color: #212121;
  }
}

.yt-dialogForm-box {
  .el-dialog {
    // min-width: 700px;
    width: 700px;
  }

  .yt-dialogForm {
    width: 680px;
    max-height: 500px;
    margin: 0 auto;
    overflow-y: auto;

    .el-form-item--medium .el-form-item__content,
    .el-form-item--medium .el-form-item__label {
      line-height: 18px;
      width: 180px;
    }
    .yt-time-quarter{
      width: 180px;
    }
    .el-date-editor.el-input, .el-date-editor.el-input__inner{
      width: 180px;
    }
    .check_div{
      width: 180px;
    }
    .el-input__inner {
      padding: 0 30px !important;
    }
  }
}

.yt-btn {
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  background: #fff;
  border: 1px solid #d8d8d8;
  -webkit-appearance: none;
  text-align: center;
  box-sizing: border-box;
  padding: 10px 20px;
  outline: 0;
  margin: 0;
  transition: .1s;
  font-size: 12px;
  border-radius: 4px;
  color: #646464;
}

.yt-btn.yt-btn-ys {
  background: #32bc8e;
  border: 1px solid #32bc8e;
  color: #fff;
}

.yt-btn.yt-ml8 {
  margin-left: 12px;
}

.el-breadcrumb__item:last-child .el-breadcrumb__inner,
.el-breadcrumb__item:last-child .el-breadcrumb__inner a,
.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover,
.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover {
  color: #ffffff;
  font-weight: 100 !important;
}

.yt-top-lg {
  background-color: #fff;
  padding: 5px 15px;
  border-radius: 3px;
  cursor: pointer;
}

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  color: #fff !important;
}

.app-breadcrumb.el-breadcrumb .no-redirect {
  color: #fff !important;
}

.navbar .right-menu .avatar-container .avatar-wrapper {
  cursor: pointer;
}

.yt-tag-success {
  margin-top: 10px;

  .el-tag {
    background-color: #e4f4ef;
    border: 1px solid #32bc8e;
    color: #656b69;
  }

  .el-icon-success {
    margin-right: 10px;
    color: #52c41a;
  }

  .el-tag .el-icon-close {
    color: #999999;
  }

  .el-tag .el-icon-close:hover {
    background-color: #e4f4ef;
    color: #999999;
  }
}

.yt-tag-error {
  margin-top: 10px;

  .el-tag {
    background-color: #fff2f1;
    border: 1px solid #e53935;
    color: #656b69;
  }

  .el-icon-error {
    margin-right: 10px;
    color: #f5222d;
  }

  .el-tag .el-icon-close {
    color: #999999;
  }

  .el-tag .el-icon-close:hover {
    background-color: #fff2f1;
    color: #999999;
  }
}

.hide-selection .cell {
  display: none
}

.yt-multiple {
  .el-select__tags {
    max-height: 30px;
    overflow: hidden;
  }
}

.yt-data-btn {
  padding: 10px 0;
  text-align: center;
  background-color: #fff;
}

.yt-data-btn.bt30 {
  border-top: 30px solid #efefef;
}

.mrt30 {
  margin-top: 30px;
}

.el-radio__input.is-disabled+span.el-radio__label {
  color: #606266 !important;
}

.el-radio__input.is-disabled.is-checked .el-radio__inner {
  border-color: #409EFF;
  background: #409EFF;
}

.el-radio__input.is-disabled.is-checked .el-radio__inner::after {
  background-color: #fff;
}

.yt-list-btn {
  margin-top: 20px;
  background-color: white;
  padding: 10px 32px;
}

.yt-all-btn {
  margin-top: 0px;
  background-color: white;
  padding: 10px 32px;
  text-align: right;
}

.yt-data-template {
  .el-col-6 {
    width: 25%;
    display: inline-block;
    float: none;
    vertical-align: top;
  }
}

.templateUpload {
  .el-upload-list {
    display: none;
  }
}
.tb-color{
  color: #1890ff;
}

.yt-list-contentg{
  color: #6dcaa8;
  height: 50px;
  line-height: 50px;
  border-bottom: solid 1px #d3d3d3;
  font-size: 18px;
  padding-left: 20px;
}
.yt-content-type{
  width: 200px;
  position: absolute;
  top: 0;
  right: 20px;
  .list-content-textType{
    position: absolute;
    left: -65px;
    font-size: 12px;
    color: #212121;
  }
}
